<html>  
<head> 
<meta charset="utf-8"> 
<title>Zealblog</title>   
</head> 
<body style="background:url(bg1.jpg) repeat-x #fff;" width="100" height="100"/ >
<img src="title.jpg"/>            
<table style="font-size:36px;">  
    <form method ="GET" action="5301.php" name="frmLogin"  >  
    <tr>
          <th colspan="2">Login Zealblog</th>
    </tr>  
    <tr>  
    <td>Username：</td>  
    <td><input type="text" name="username" value="Your name" size="50" maxlength="50" onfocus="if (this.value=='Your name') this.value='';" /></td>  
    <td> </td>  
    <td> </td>  
    </tr>  
    <tr>  
    <td>Password：</td>  
    <td><input type="password" name="password" value="Your password" size="20" maxlength="20" onfocus="if (this.value=='Your password') this.value='';" /></td>  
    <td> </td>  
    <td> </td>  
    </tr>      
    <table style="font-size:36px;">  
    <tr>  
        <td><input type="submit" name="login" value="Login" onClick="return validateLogin()"/></td>  
            <td><input type="reset" name="rs" value="Reset" /></td>  
        </tr>
    </table>    
    </form> 
</table>   
 
<script language="javascript">  
    function validateLogin(){  
        var sUserName = document.frmLogin.username.value ;  
        var sPassword = document.frmLogin.password.value ;    
        if ((sUserName =="") || (sUserName=="Your name")){  
            alert("Please input Username!");  
            return false ;  
        }  
       
        if ((sPassword =="") || (sPassword=="Your password")){  
            alert("Please input Password!");  
            return false ;  
        }  
    
    }   
</script>  
</body>  
</html> 